package com.gitee.huanminabc.dynamicdb.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author huanmin
 * @date 2024/12/09
 */
@Data
@Component
@ConfigurationProperties(prefix = "mybatis-plus")
public class MybatisPlusConfig {
    private String mapperLocations;
    private String typeAliasesPackage;
    @Data
    public static class Configuration{
        private String logImpl;
        private boolean mapUnderscoreToCamelCase;
    }
    private Configuration configuration = new Configuration();
}
